import Home from '../views/Home.vue'

const routes = [
    {
		path: '/',
		redirect: '/login'
	},
	{
		path: '/home',
		component: Home,
		children: [
			{
				path: '/',
				redirect: 'workbench'
			},
			{
				path: 'workbench',
				meta: {
					title: '我的工作台'
				},
				component: () => import(/* webpackChunkName: "HelloWorld" */ '../views/Workbench.vue')
			}
        ]
    }
]

export default routes